package com.dy.nygl.service;

import java.util.List;

import com.dy.nygl.pojo.Device;

public interface DeviceService {
	
	public List<Device> getDevice(int begin,int end);
	public Device getDeviceById(int id);
	public Device getDeviceByNum(String num);
	public void adDevice(Device device);
	public int getDeviceCount();
	public void updateDevice(Device device);
	public void deleteDevice(int id);
}
